package cn.gd.service.Announcements;

import cn.gd.pojo.Announcements;
import cn.gd.pojo.Users;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author wyh
 * @version 1.80
 */
public interface AnnouncementService {
    public PageInfo<Announcements> announcementsGetAll(Integer pageNo,
                                                       Integer pageSize);
    public int announcementsAdd(Announcements announcements);
    public Announcements announcementsGetId(Integer id);
    public int announcementsUpdate(Announcements announcements);
    public int announcementsDelete(Integer id);
    public List<Users> getUserAll();
}
